package cn.wolfcode.qo;

import lombok.Data;

/**
 * @ClassName QueryObject
 * @Description TODO
 * @Author wdx
 * @Date 2023/3/31 0:23
 */
@Data
public class QueryObject {
    private int currentPage = 1;
    private int pageSize = 3;
    public int getStart(){return (currentPage - 1 ) * pageSize;}
}
